<?php
class OverallModel extends Orm_Base{
    public $table = 'overall';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'description' => array('type' => "varchar(200)",'comment' => '员工考核规则'),
        'zs_starttime' => array('type' => "varchar(10)",'coment' => '早上开始时间'),
        'zs_endtime' => array('type' => "varchar(10)",'coment' => '早上结束时间'),
        'sw_starttime' => array('type' => "varchar(10)",'coment' => '上午开始时间'),
        'sw_endtime' => array('type' => "varchar(10)",'coment' => '上午结束时间'),
        'zw_starttime' => array('type' => "varchar(10)",'coment' => '中午开始时间'),
        'zw_endtime' => array('type' => "varchar(10)",'coment' => '中午结束时间'),
        'xw_starttime' => array('type' => "varchar(10)",'coment' => '下午开始时间'),
        'sw_endtime' => array('type' => "varchar(10)",'coment' => '下午结束时间'),
        'ws_starttime' => array('type' => "varchar(10)",'coment' => '晚上开始时间'),
        'ws_endtime' => array('type' => "varchar(10)",'coment' => '晚上结束时间'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
} 
?>
